Repository navigation
ci: move production builds to Cloudflare - #4
Merged
Merged
Conversation
🚀 Deploying Preview to Cloudflare 🚀Preview Deployments by commit
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Production checks and deployments currently wait for self-hosted GitHub runners. Run all GitHub checks on
ubuntu-latest, remove the GitHub deployment job, and addpnpm build:cloudflarefor Cloudflare Workers Builds. It installs the frozen lockfile, runs typecheck,biome ci, tests and the production build before Cloudflare invokes Wrangler. Keep the required check name unchanged.Document the existing Worker's Git connection, main-only builds, pinned pnpm version, deployment command and manual retries. The Worker configuration, domains and bindings are unchanged.
Validation:
CI=true pnpm run build:cloudflarepassed in the clean worktree with Node 24 and pnpm 12.8.1 (69 tests, all five prerendered pages). Workflow YAML parses andgit diff --checkpasses.Activation is still required in the Cloudflare account: this session has no Cloudflare credentials or connected dashboard. Merge this workflow change, then connect/configure Workers Builds using the exact settings. Until that connection is active, pushes will only run GitHub checks and will not deploy. The first live Cloudflare build has not been verified.